import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import Moment from 'moment'
import 'element-ui/lib/theme-chalk/index.css';
import './utils/persommion'
import {
	objFilter
} from "./utils/objFilter.js"
import {
	objCopy
} from './utils/objCopy.js'

// 定义全局时间戳过滤器
Vue.filter('formatDate', function(value) {
  return Moment(value).format('YYYY-MM-DD HH:mm:ss')
})
Vue.prototype.$objFilter = objFilter
Vue.prototype.$objCopy = objCopy
Vue.config.productionTip = false
Vue.use(ElementUI)




new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
